Hello ,
i tried to make a chain for some thing like that , but I failed I want to get : chain : It_1,It_3,It_4, It_5 which It_1 is a referecne in It_3 and It_3 is a reference in It_4 ..... etc.
code for Identifier
Regexp found = regexp2 "\\[[I][t][_]+([0-9]+)\\]"
for o in m do {
string theText = (o."Object theText" "") (o."Object Heading" "")
while (!null theText && found theText) {
string foundNumber
foundNumber = theText[match 1]
int ifoundNumber = intOf realOf foundNumber
theText = theText[end 1 +1:]
}
}
have any one idea? Control17 - Mon Sep 18 08:51:37 EDT 2017 | ||||||||||||||
Re: chain Sorry, don't have the time to program this, but as a hint: you will need a recursive function that takes an object as input parameter. For every reference it finds in its' Obejct Text or Heading, it determines the corresponding object and calls itself again.
Needless to say but again, you are programming things that DOORS already offers as a built-in feature (analysis wizard), if you would only use links instead of references... | ||||||||||||||